<template>
    <div class="index">
        <!-- 头部 -->
        <div class="head"></div>
        <!-- 中间 -->
        <div class="main">
            <div class="left">
                <ul>
                    <li>
                        <router-link to="/users">用户管理</router-link>
                    </li>
                     <li>
                        <router-link to="/qxgl">权限管理</router-link>
                    </li>
                </ul>
            </div>
            <div class="right">
                        <router-view></router-view>
            </div>
        </div>
        <!-- 底部 -->
        <div class="foot"></div>
    </div>
</template>

<style>
.index{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.head{
    height: 50px;
    background: hotpink;
}
.main{
    flex: 1;
    background:gray;
}
.left{
    width: 200px;
    height: 100%;
    background: black;
    float: left;
}
.foot{
    height: 50px;
    background: silver
}
</style>